package login.dao;

import com.sunbeam.common.log4j.BaseLogger;

/***
 * 
 * @author greatwqs.iteye.com
 * @data 2011-12-01
 */
public class PersonDao {

	/***
	 * 根据用户名和密码,判断用户是否能登陆!
	 * @param username
	 * @param password
	 * @return
	 */
	public boolean isPersonCanLogin(String username, String password) {
		BaseLogger.setBaseLogger("log4j_error.properties");
		BaseLogger.logger.error(username+" "+password);
		String s=System.getProperty("user.dir");
		return username.equals(password);
	}
}
